package com.googlecode.ocl2sqlcompiler.components;

import java.util.List;

/**
 * @author Renato Miceli
 * 
 */
public class UMLAssociationClass extends UMLNamedObject {

	private UMLAttribute rightAssociation;
	private UMLAttribute leftAssociation;
	private List<UMLAttribute> attributes;

	/**
	 * @param rightAssociation
	 *            the rightAssociation to set
	 */
	public void setRightAssociation(UMLAttribute rightAssociation) {
		this.rightAssociation = rightAssociation;
	}

	/**
	 * @return the rightAssociation
	 */
	public UMLAttribute getRightAssociation() {
		return rightAssociation;
	}

	/**
	 * @param leftAssociation
	 *            the leftAssociation to set
	 */
	public void setLeftAssociation(UMLAttribute leftAssociation) {
		this.leftAssociation = leftAssociation;
	}

	/**
	 * @return the leftAssociation
	 */
	public UMLAttribute getLeftAssociation() {
		return leftAssociation;
	}

	/**
	 * @param attributes
	 *            the attributes to set
	 */
	public void setAttributes(List<UMLAttribute> attributes) {
		this.attributes = attributes;
	}

	/**
	 * @return the attributes
	 */
	public List<UMLAttribute> getAttributes() {
		return attributes;
	}

}
